#!/usr/bin/env python
import sys, random

print "Content-Type: text/html"
print 
import cgitb; cgitb.enable()
#print 1/0

print """\
<html>
<body>
<h2>Hello World!</h2>
"""
print "the coin shows <b>", random.choice("heads tails".split()), "</b>"

print """\
</body>
</html>
""" 

